'use strict';
// Copyright 2014 Blueant Inc. All Rights Reserved.

/**
 * @fileoverview 消耗品奖励
 * @author sundbcn@gmail.com (sun debing)
 */

var _ = require('lodash');
var consumeConf = require('../config/consumeConf');
var rewardType = require('../consts/rewardType.js');

/**
 * 生成消耗品奖励列表(该功能程序中未用到)
 * @param  {[type]} daily_id [description]
 * @param  {[type]} lv       [description]
 * @return {[type]}          [description]
 */

exports.getRewardList = function (consume_type) {
    var reward_list = [];
    var consume_conf = consumeConf.getConsumeTypeConf(consume_type);
    reward_list.push({
        reward_type: rewardType.CONSUME,
        reward: consume_conf.id,
        reward_num: 1,
        reward_value: 0,
        hole_num: 0
    });
    return reward_list;
};
